package com.orangecy.rulesubscribe.component;

import com.orangecy.common.context.OrangeCyContext;
import com.orangecy.rulesubscribe.define.RuleActuatorDTO;
import com.orangecy.rulesubscribe.define.RuleDefineDTO;

/**
 * @Author : orangeCy.奕
 * @Product : 猎豹养成产品源码
 * @Time : 2021/10/22
 * @Desc : 规则组件执行定义
 */
public interface RuleComponentService {
    /**
     * 规则组件执行
     * @param c
     * @param ruleDefineDTO
     * @return 执行结果
     */
    RuleActuatorDTO execute(OrangeCyContext c, RuleDefineDTO ruleDefineDTO);
}